home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cat3 / complib / zlansy.z / zlansy
Text File  |  1998-10-30  |  3KB  |  133 lines

  1.  
  2.  
  3.  
  4. ZZZZLLLLAAAANNNNSSSSYYYY((((3333FFFF))))                                                          ZZZZLLLLAAAANNNNSSSSYYYY((((3333FFFF))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ZLANSY - return the value of the one norm, or the Frobenius norm, or the
  10.      infinity norm, or the element of largest absolute value of a complex
  11.      symmetric matrix A
  12.  
  13. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  14.      DOUBLE PRECISION FUNCTION ZLANSY( NORM, UPLO, N, A, LDA, WORK )
  15.  
  16.          CHARACTER    NORM, UPLO
  17.  
  18.          INTEGER      LDA, N
  19.  
  20.          DOUBLE       PRECISION WORK( * )
  21.  
  22.          COMPLEX*16   A( LDA, * )
  23.  
  24. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  25.      ZLANSY  returns the value of the one norm,  or the Frobenius norm, or the
  26.      infinity norm,  or the  element of  largest absolute value  of a complex
  27.      symmetric matrix A.
  28.  
  29.  
  30. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  31.      ZLANSY returns the value
  32.  
  33.         ZLANSY = ( max(abs(A(i,j))), NORM = 'M' or 'm'
  34.                  (
  35.                  ( norm1(A),         NORM = '1', 'O' or 'o'
  36.                  (
  37.                  ( normI(A),         NORM = 'I' or 'i'
  38.                  (
  39.                  ( normF(A),         NORM = 'F', 'f', 'E' or 'e'
  40.  
  41.      where  norm1  denotes the  one norm of a matrix (maximum column sum),
  42.      normI  denotes the  infinity norm  of a matrix  (maximum row sum) and
  43.      normF  denotes the  Frobenius norm of a matrix (square root of sum of
  44.      squares).  Note that  max(abs(A(i,j)))  is not a  matrix norm.
  45.  
  46.  
  47. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  48.      NORM    (input) CHARACTER*1
  49.              Specifies the value to be returned in ZLANSY as described above.
  50.  
  51.      UPLO    (input) CHARACTER*1
  52.              Specifies whether the upper or lower triangular part of the
  53.              symmetric matrix A is to be referenced.  = 'U':  Upper triangular
  54.              part of A is referenced
  55.              = 'L':  Lower triangular part of A is referenced
  56.  
  57.      N       (input) INTEGER
  58.              The order of the matrix A.  N >= 0.  When N = 0, ZLANSY is set to
  59.              zero.
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. ZZZZLLLLAAAANNNNSSSSYYYY((((3333FFFF))))                                                          ZZZZLLLLAAAANNNNSSSSYYYY((((3333FFFF))))
  71.  
  72.  
  73.  
  74.      A       (input) COMPLEX*16 array, dimension (LDA,N)
  75.              The symmetric matrix A.  If UPLO = 'U', the leading n by n upper
  76.              triangular part of A contains the upper triangular part of the
  77.              matrix A, and the strictly lower triangular part of A is not
  78.              referenced.  If UPLO = 'L', the leading n by n lower triangular
  79.              part of A contains the lower triangular part of the matrix A, and
  80.              the strictly upper triangular part of A is not referenced.
  81.  
  82.      LDA     (input) INTEGER
  83.              The leading dimension of the array A.  LDA >= max(N,1).
  84.  
  85.      WORK    (workspace) DOUBLE PRECISION array, dimension (LWORK),
  86.              where LWORK >= N when NORM = 'I' or '1' or 'O'; otherwise, WORK
  87.              is not referenced.
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.